package org.r505.chatroom.modules.chat.controller;

import javax.websocket.Session;

import org.r505.chatroom.modules.chat.entity.Chat;

import com.alibaba.fastjson.JSON;

public class ChatController {
	/**
	 * 给用户发送消息
	 * @param session
	 * @param param
	 * @return
	 */
	public String sendMessage(Session session, String param){
		Chat chat = JSON.parseObject(param, Chat.class); //获取参数
		
		
		System.out.println("i'm here" + param);
		return null;
	}
}
